package project;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class ss {

	public static void main(String[] args) throws IOException {
		FileInputStream fis = null;
		FileOutputStream fos = null;
		try {
			fis = new FileInputStream("jd.css");
			fos = new FileOutputStream("‪jd1.css");
			int leng;
			while ((leng = fis.read()) != -1) {
				fos.write(leng);
				fos.write(';');
				if (leng == 125) {
					// fos.write(';');
					fos.write('\r');

					fos.write('\n');
				}
				if (leng == 59) {
					fos.write(' ');
				}

			}

		} catch (FileNotFoundException e) {
			// TODO 自动生成的 catch 块
			e.printStackTrace();
		} finally {
			if (fis != null)
				fis.close();
			if (fos != null)
				fos.close();
		}

	}
}
